﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeliveryManage.Model
{
    [Serializable]
    public partial class Sys_Config
    {
        public Sys_Config()
        { }

        #region Model

        private string _email_host = "";
        private int _email_port = 80;
        private bool _email_enable_ssl = true;
        private string _email_send_adress = "";
        private string _email_send_user = "";
        private string _email_send_pwd = "";
        private string _email_send_username = "";

        private string _file_server_url = "";
      
        /// <summary>
        /// 邮件主机地址
        /// </summary>
        public string email_host
        {
            get { return _email_host; }
            set { _email_host = value; }
        }
        /// <summary>
        /// 邮件端口
        /// </summary>
        public int email_port
        {
            get { return _email_port; }
            set { _email_port = value; }
        }
        /// <summary>
        /// 是否启用SSL
        /// </summary>
        public bool email_enable_ssl
        {
            get { return _email_enable_ssl; }
            set { _email_enable_ssl = value; }
        }
        /// <summary>
        /// 发件人地址
        /// </summary>
        public string email_send_adress
        {
            get { return _email_send_adress; }
            set { _email_send_adress = value; }
        }
        /// <summary>
        /// 发件人授权账号
        /// </summary>
        public string email_send_user
        {
            get { return _email_send_user; }
            set { _email_send_user = value; }
        }
        /// <summary>
        /// 发件人授权密码
        /// </summary>
        public string email_send_pwd
        {
            get { return _email_send_pwd; }
            set { _email_send_pwd = value; }
        }
        /// <summary>
        /// 发件人名字
        /// </summary>
        public string email_send_username
        {
            get { return _email_send_username; }
            set { _email_send_username = value; }
        }

        /// <summary>
        /// 文件上传服务地址
        /// </summary>
        public string file_server_url
        {
            get { return _file_server_url; }
            set { _file_server_url = value; }
        }

        #endregion

    }
}
